﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GestoreSuperProgetto
{
    public partial class InputBox : Form
    {
        public InputBox()
        {
            InitializeComponent();
        }

        public string TitleText
        {
            get { return this.Text; }
            set { this.Text = value; }
        }

        public string PromptText
        {
            get { return this.label1.Text; }
            set { this.label1.Text = value; }
        }

        public string ValueText
        {
            get { return this.textBox1.Text; }
            set { this.textBox1.Text = value; }
        }

        private void okBtn_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            Close();
        }

        private void cancelBtn_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            Close();
        }
    }
}
